package com.inossem.warehousestorage_inossem.bean.outStorage;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.List;

/**
 * 作者：wsy on 2017/12/15 10:16
 * <p>
 * 邮箱：445979770@qq.com
 */

public class OutStorageCalculatorBean extends Bean {
    /**
     * code : 200
     * msg : 公共响应信息
     * data : {"pickingOutStorageList":[{"pickingNumber":"LLD12345678901","createDate":"2017-07-24","creator":"张三"},{"pickingNumber":"LLD12345678902","createDate":"2017-07-23","creator":"李四"}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {

        /**
         * flag : 1
         * calculator : {"materielDescription":"物料描述","constantName":"密度","constantValue":"2.39","propertyList":[{"name":"长","unit":"厘米","retainDecimal":"0"},{"name":"宽","unit":"米","retainDecimal":"2"},{"name":"高","unit":"分米","retainDecimal":"1"}]}
         */

        private String flag;
        private CalculatorBean calculator;

        public String getFlag() {
            return flag;
        }

        public void setFlag(String flag) {
            this.flag = flag;
        }

        public CalculatorBean getCalculator() {
            return calculator;
        }

        public void setCalculator(CalculatorBean calculator) {
            this.calculator = calculator;
        }

        public static class CalculatorBean {
            /**
             * materielDescription : 物料描述
             * constantName : 密度
             * constantValue : 2.39
             * propertyList : [{"name":"长","unit":"厘米","retainDecimal":"0"},{"name":"宽","unit":"米","retainDecimal":"2"},{"name":"高","unit":"分米","retainDecimal":"1"}]
             */

            private String materielDescription;
            private String constantName;
            private String constantValue;
            private List<PropertyListBean> propertyList;

            public String getMaterielDescription() {
                return materielDescription;
            }

            public void setMaterielDescription(String materielDescription) {
                this.materielDescription = materielDescription;
            }

            public String getConstantName() {
                return constantName;
            }

            public void setConstantName(String constantName) {
                this.constantName = constantName;
            }

            public String getConstantValue() {
                return constantValue;
            }

            public void setConstantValue(String constantValue) {
                this.constantValue = constantValue;
            }

            public List<PropertyListBean> getPropertyList() {
                return propertyList;
            }

            public void setPropertyList(List<PropertyListBean> propertyList) {
                this.propertyList = propertyList;
            }

            public static class PropertyListBean {
                /**
                 * name : 长
                 * unit : 厘米
                 * retainDecimal : 0
                 */

                private String name;
                private String unit;
                private String retainDecimal;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getUnit() {
                    return unit;
                }

                public void setUnit(String unit) {
                    this.unit = unit;
                }

                public String getRetainDecimal() {
                    return retainDecimal;
                }

                public void setRetainDecimal(String retainDecimal) {
                    this.retainDecimal = retainDecimal;
                }
            }
        }
    }
}
